package com.zhx.freedom.say.server;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 描述: 注册中心项目
 *
 * @author 周浩西
 * @date 2019/4/3016:53
 */
@EnableEurekaServer
@SpringBootApplication
public class RegisterApplication {

    public static final Logger logger = LoggerFactory.getLogger(RegisterApplication.class);
    public static void main(String[] args) {
        long startTime = System.currentTimeMillis();
        SpringApplication.run(RegisterApplication.class, args);
        logger.info("··········自由说-注册中心启动完成·············");
        long endTime = System.currentTimeMillis();
        logger.info("··········服务启动耗时{}毫秒·············", (endTime - startTime));
    }
}
